<div class="row-fluid">
    <div class="span12">
        <div class="grid simple">
			<div class="grid-body no-border email-body">
				<?php
				/* @var $this ClarisHistoryController */
				/* @var $model ClarisHistory */


				$this->breadcrumbs = array(
					'Claris Histories' => array('index'),
					'Управление',
				);
				?>
				<div style="overflow: auto;">
					<?php
					$this->widget('bootstrap.widgets.TbGridView', array(
						'id' => 'claris-history-grid',
						'dataProvider' => $model->search(),
						'filter' => $model,
						'columns' => array(
							'historyId',
							'type',
							'fio',
							'telefon',
							'zakaz_kurera',
							'adres',
							'gorod',
							//'data_sozdaniya',
							array(
								'name' => 'data_sozdaniya',
								'filter' => '',
								'value' => 'date("d-m-Y H:i",$data->data_sozdaniya)',
								'type' => 'raw',
							),
							'tip_tehniki',
							'brend',
							'model',
							'rekomendation',
							'price',
							//'title_page',
							//'link_page',
							array(
								'name' => 'link_page',
								'filter' => '',
								'value' => 'CHtml::link("$data->link_page", $data->link_page, array("target"=>"_blank"))',
								'type' => 'raw',
							),
							array(
								'class' => 'bootstrap.widgets.TbButtonColumn',
							),
						),
					));
					?>
				</div>
			</div>
        </div>	
    </div>
</div>